package cc.wfu.type.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;



/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: web 权限白名单
 * @Date: 2024-05-22-13:45
 */
@Slf4j
@Component
public class WebAuthSecurity {
    private static String[] WEB_WHITE_LIST = { "/**" };
    public final void antMatchers(String... antPatterns) {
        WEB_WHITE_LIST = antPatterns;
    }
    protected final String[] matchers() {
        return WEB_WHITE_LIST;
    }
}
